<?php
namespace app\admin\validate;
use think\Validate;
class Bis extends Validate{
    
    //验证
        protected $rule = [
        'name' => 'require|max:25',
        'email' => 'email',
        'logo' => 'require',
        'city_id' => 'require',
        'bank_info' => 'require',
        'bank_name' => 'require',
        'bank_user' => 'require',
        'status'=>'require',
        'faren' => 'require',
        'faren_tel' => 'require',
    ];
    
      protected $scene=[
          //状态
          "status"=>["id","status"],
      ];  
}
